﻿using System.Web;
using Glimpse.Core.Extensibility;

namespace GlimpseWcf.Client
{
    public class Wcf : TabBase//, ITabLayout
    {
        public override object GetData(ITabContext context)
        {
            var x = WcfResponseManager.GetGlimpseResponsesForContext(context.GetRequestContext<HttpContextBase>());
            return x;
        }

        public override string Name
        {
            get { return "WCF"; }
        }

        public object GetLayout()
        {
            return null; //return TabLayout.Create().Row(r => {r.Cell()})
        }
    }
}